package com.film.service;

import com.film.dao.ReservationDao;
import com.film.entity.Reservation;
import com.film.entity.Reservations;

import java.util.List;

/**
 * @author HustleLr
 * @version 1.0.0
 * @date 2023/12/13 18:25
 * @describe ReservationDao
 */
public class ReservationService {
    private ReservationDao reservationDao = new ReservationDao();

    public List<Reservation> getReservations() {
        return reservationDao.getReservations();
    }

    public void saveReservations(Reservations reservation) {
        reservationDao.saveReservations(reservation);
    }
}
